<!--
 * @Author: 莫莫
 * @Phone: 13450159681
 * @Description: 
 * @Date: 2024-09-21 16:51:45
 * @LastEditTime: 2024-09-27 16:33:24
-->
<!--
 * @Author: 莫莫
 * @Phone: 13450159681
 * @Description: 
 * @Date: 2024-09-21 16:51:45
 * @LastEditTime: 2024-09-21 17:30:26
-->

<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('员工')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-staff_id" data-rule="required" data-source="qingdongwms/finance/staff_wage/getstaff"
                class="form-control selectpage" name="row[staff_id]" type="text" value="{$row.staff_id|htmlentities}">

        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">年月:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM"
                data-use-current="true" placeholder="选择年月" name="row[time]" type="text" value="{$row.time}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('基本工资')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-basic_salary" data-rule="required" class="form-control" name="row[basic_salary]" type="text" value="{$row.basic_salary|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('加班工资')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-overtime_salary" class="form-control" name="row[overtime_salary]" type="text" value="{$row.overtime_salary|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('社保')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-social_security" class="form-control" name="row[social_security]" type="text" value="{$row.social_security|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('全勤')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-present" class="form-control" name="row[present]" type="text" value="{$row.present|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('津贴')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-allowance" class="form-control" name="row[allowance]" type="text" value="{$row.allowance|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('奖金')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bonus" class="form-control" name="row[bonus]" type="text" value="{$row.bonus|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('实发工资')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_salary" class="form-control" name="row[total_salary]" type="text" value="{$row.total_salary|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[status]', ['1'=>__('已发'), '0'=>__('未发')],$row['status'])}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
